// 各分区主播词云展示
<template>
  <div>
    <blockquote>数据截止至2021年8月9日</blockquote>
      <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="网游竞技" name="first">
        <div>
            <h1>网游竞技主播词云</h1>    
            <el-image :src="src1" style="height: 750px"></el-image>
        </div>
    </el-tab-pane>

    <el-tab-pane label="单机热游" name="second">
        <div>
            <h1>单机热游主播词云</h1>    
            <el-image :src="src2" style="height: 750px"></el-image>
        </div>
    </el-tab-pane>

    <el-tab-pane label="娱乐天地" name="third">
        <div>
            <h1>娱乐天地主播词云</h1>    
            <el-image :src="src3" style="height: 750px"></el-image>
        </div>
    </el-tab-pane>

    <el-tab-pane label="手游休闲" name="fourth">
        <div>
            <h1>手游休闲主播词云</h1>    
            <el-image :src="src4" style="height: 750px"></el-image>
        </div>
    </el-tab-pane>
  </el-tabs>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeName: "first",
      src1:require('@/assets/onlineGameAnchorWordCloud.png'),
      src2:require('@/assets/singlePlayerGameAnchorWordCloud.png'),
      src3: require("@/assets/amusementAnchorWordCloud.png"),
      src4:require('@/assets/mobileGameAnchorWordCloud.png'),
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>
<style>
blockquote {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
    font-size: 12px;
    box-sizing: border-box;
    height: 30px;
    line-height: 30px;
    background: #fde2e2;
    border: 1px solid #F56C6C;
    padding-left: 15px;
    color :#F55151;
    margin-left: 0;
    margin-top: 0;
    margin-right: 0;
}
</style>